package com.group02.community.entity.community;

import java.io.Serializable;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.util.Date;
import java.math.BigDecimal;

/**
 * @Description  zy_unit: table
 * @Author  Sunk 
 * @Date 2022-07-14 
 */

@Data
@TableName("zy_unit")
public class ZyUnit  implements Serializable {

	private static final long serialVersionUID =  8185549122572125858L;

	@TableId
	@ExcelProperty(value = {"单元id"}, index = 0)
	/** 单元id */
	private String unitId;

	/** 小区id */
	private String communityId;

	/** 楼栋id */

	private String buildingId;

	/** 单元名称 */
	@ExcelProperty(value = {"单元名称"}, index = 3)
	private String unitName;

	@ExcelProperty(value = {"单元编号"}, index = 4)
	/** 单元编号 */
	private String unitCode;

	/** 层数 */
	@ExcelProperty(value = {"层数"}, index = 5)
	private Integer unitLevel;

	/** 建筑面积 */
	@ExcelProperty(value = {"建筑面积"}, index = 6)
	private BigDecimal unitAcreage;

	@ExcelProperty(value = {"是否有电梯"}, index = 7)
	/** 是否有电梯 */
	private String unitHaveElevator;

	/** 创建者 */
	private String createBy;

	/** 创建时间 */
	@ExcelProperty(value = {"创建时间"}, index = 8)
	private Date createTime;

	/** 更新者 */
	private String updateBy;

	/** 更新时间 */
	private Date updateTime;

	/** 备注 */
	@ExcelProperty(value = {"备注"}, index = 9)
	private String remark;

	@TableField(exist = false)
	@ExcelProperty(value = {"小区名称"}, index = 1)
	private String communityName;

	@ExcelProperty(value = {"楼栋名称"}, index = 2)
	@TableField(exist = false)
	private String buildingName;

}
